package com.zt.teacher.dao;

import com.zt.common.pojo.SignInItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:
 * author:zt
 * date:2022-01-24
 */
@Mapper
public interface SignInItemDao {

    void insert(SignInItem signInItem);

    List<SignInItem> getBySignInId(int signInId);

    SignInItem getBySignInIdAndStuId(@Param("signInId") int signInId, @Param("studentId") String studentId);

    int getBySignInIdsAndStuId(@Param("signInIds") List<Integer> signInId, @Param("studentId") String studentId);
}
